@use "../../common.scss";

.transition_container {
    position: absolute;

    width: 100%;
    height: 100%;
    z-index: 20;
}

div.command_palette_container {
    position: absolute;
    display: flex !important;
    flex-flow: column;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2em;
    background: rgba(#000000, 0.85);
}

.command_palette {
    @include common.roundCorners-lg;
    position: absolute;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 36em;
    box-sizing: border-box;
    padding: 1em 1em 0 1em;
    background: common.$bgdark;

    .input {
        position: relative;
        width: 100%;
        box-sizing: border-box;

        color: common.$white;

        input {
            background: common.$bgdarker;
            transition: common.$short-duration;
            caret-color: common.$white;
            color: common.$white;
            border: none;

            &::selection {
                background-color: common.$blue;
                color: common.$white;
            }

            &:active,
            &:focus {
                background: common.$background3;
                border: none;
                color: common.$white;
            }
        }
    }

    .actions {
        width: 100%;
        margin-top: 1em;
    }
}
